package org.jeecg.mbg.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.mbg.model.GiftGoods;
import org.jeecg.mbg.model.GiftGoodsExample;

public interface GiftGoodsMapper {
    long countByExample(GiftGoodsExample example);

    int deleteByExample(GiftGoodsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(GiftGoods record);

    int insertSelective(GiftGoods record);

    List<GiftGoods> selectByExample(GiftGoodsExample example);

    GiftGoods selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") GiftGoods record, @Param("example") GiftGoodsExample example);

    int updateByExample(@Param("record") GiftGoods record, @Param("example") GiftGoodsExample example);

    int updateByPrimaryKeySelective(GiftGoods record);

    int updateByPrimaryKey(GiftGoods record);
}